package com.hua.designpattern.behavioral.interpreter;

public class TerminalExpression implements InterpreterInterface {

	private final double num;

	public TerminalExpression(final double num) {
		this.num = num;
	}

	@Override
	public double interpreter(String context) {
		return num;
	}

}
